/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.wshop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.SpringVersion;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>Project: wshop - ShopApp
 * <p>Powered by webrx On 2022-02-10 12:14:49
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@SpringBootApplication @RestController
public class ShopApp {
    public static void main(String[] args)     {
        SpringApplication.run(ShopApp.class,args);
    }
    @RequestMapping
    public String index(){
        return String.format("hello world %s", SpringVersion.getVersion());
    }
}
